﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace SmartTracking.ErrorCode
{
    /// <summary>
    /// 分页返回
    /// </summary>
    /// <typeparam name="T">泛型</typeparam>
    public class ApiPaging<T> where T: class
    {
        /// <summary>
        /// 总条数
        /// </summary>
        public int totalCount { get; set; }
        /// <summary>
        /// 总页数
        /// </summary>
        public int totalPage { get; set; }
        /// <summary>
        /// 数据
        /// </summary>
        public List<T> data { get; set; }
    }
}
